
###############################################################################
# Replication archive for dataset of Council working party meetings, 1995-2014#
###############################################################################


# Please cite: 
# Frank M. H�ge
# Political attention in the Council of the European Union: A new dataset of working party meetings, 1995-2014
# European Union Politics, forthcoming


# Replication of working party meeting dataset
##############################################
The generation of the working party meeting data from the information provided in the Excel files
of the Council Secretariat involved extensive cleaning, correcting, coding, and reshaping of the data.
To reproduce these steps in the generation of the dataset, run the Stata do-file 'wpar-management00-rundofiles.do'
in the 'Data management' folder. The do-file executes several other do-files, which process the files containing
the raw meeting information stored in the 'Input data' folder. After all data management tasks have
been executed, the final datasets are saved in the 'Output data' folder.

NOTE: 
In order for the do-files to run smoothly, the file path of the 'cd' command 
(specifying the currend directory at the beginning of the do-file) needs to be 
changed in ALL do-files to point to the top-level folder address of the local machine 
to which the replication archive has been copied. 
Also, the existing folder structure of the replication archive should not be changed.


# Replication of tables and figures in the published article and the online appendix
####################################################################################
To generate all tables and figure presented in the published article and online appendix,
run the R-script 'wpar-analysis01.R' in the 'Data analysis' folder.

NOTE:
In order for this script to run smoothly, the file path of the 'setwd' command 
(specifying the working directory at the beginning of the script) needs to be 
changed to point to the top-level folder address of the local machine 
to which the replication archive has been copied. 
Also, the existing folder structure of the replication archive should not be changed.